package net.koodar.forge.admin.domain.enums;

import lombok.Getter;

/**
 * 权限类型
 *
 * @author liyc
 */
@Getter
public enum PermissionPermsTypeEnum {

    /**
     * SpringSecurity模式
     */
    SPRING_SECURITY(1, "SpringSecurity模式"),
    /**
     * URL模式
     */
    URL(2, "URL模式"),

    ;

    private Integer value;

    private String desc;

    PermissionPermsTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
